Tweak gitignore for Debian pkg-kernel using git svn.
authorIan Campbell <ijc@hellion.org.uk>
Thu, 17 Jan 2013 08:55:21 +0000 (08:55 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 22 Dec 2017 14:12:23 +0000 (14:12 +0000)
[bwh: Tweak further for pure git]

Gbp-Pq: Topic debian
Gbp-Pq: Name gitignore.patch

.gitignore

index 0c39aa20b6ba8d2afbc69670636b9223b3bf23fa..eae7c2499fa1aec02e0472104f33a057fec01a4a 100644 (file)
@@ -53,23 +53,11 @@ Module.symvers
 /System.map
 /Module.markers
 
-#
-# Debian directory (make deb-pkg)
-#
-/debian/
-
 #
 # tar directory (make tar*-pkg)
 #
 /tar-install/
 
-#
-# git files that we don't want to ignore even if they are dot-files
-#
-!.gitignore
-!.mailmap
-!.cocciconfig
-
 #
 # Generated include files
 #
@@ -115,3 +103,10 @@ all.config
 
 # Kdevelop4
 *.kdev4
+
+#
+# Debian packaging: ignore everything at the top level, since it isn't
+# included in our repository
+#
+/*
+!/debian/